<?php

namespace App\Console\Commands;

use App\Models\Admin\SysMenu;
use App\Models\Admin\SysPermission;
use App\Models\Admin\SysRole;
use App\Models\Admin\SysUser;
use App\Modules\Admin\Services\DepartmentService;
use App\Modules\Admin\Services\DictTypeService;
use App\Modules\Admin\Services\MenuService;
use App\Modules\Admin\Services\PermissionService;
use App\Modules\Admin\Services\RoleService;
use App\Modules\Admin\Services\UserService;
use Illuminate\Console\Command;
use Mews\Captcha\Facades\Captcha;

class Debug extends Command
{
    /**
     * The name and signature of the console command.
     *
     * @var string
     */
    protected $signature = 'app:debug';

    /**
     * The console command description.
     *
     * @var string
     */
    protected $description = 'only debug';

    /**
     * Execute the console command.
     */
    public function handle(RoleService $service)
    {

        // $user = SysUser::find(1);

        dd($service->getRoleMenuIds(1));
    }
}
